package cn.group.service;

import cn.group.domain.Faculty;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface FacultyService {
    List<Faculty>queryAllFaculty();
    PageInfo<Faculty> getFacultyByPage(Integer currentPage, Integer pageSize);
    Faculty queryAllById(Integer id);
    boolean modifyOne(Faculty faculty);
    boolean insertOneFaculty(Faculty faculty);
    boolean deleteOne(Faculty faculty);
}
